package com.copm.demonstrationsystem.service.introductionfeatures;

import com.copm.demonstrationsystem.commons.response.ResponseStatus;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Author: Yuan Baiyu
 * @Date: Created in 18:49 2018/4/23
 */
public interface MainPageService {

    //获取“首页”页面信息（全为图片）
    ResponseStatus getPage();

//    //删除“首页”页面模块标签文本
//    ResponseStatus deleteMainPageText(Long id);
//
//    //添加“首页”页面模块标签文本
//    ResponseStatus addMainPageText(String title);
//
//    //修改“首页”页面模块标签文本
//    ResponseStatus modifyMainPageText(Long id, String title);

    //添加“首页”页面背景图片
    ResponseStatus addBackgroundImage(MultipartFile file);

    //添加“首页”页面项目图片
    ResponseStatus addProjectImage(MultipartFile file);

    //删除“首页”页面背景图片
    ResponseStatus deleteBackgroundImage();

    //删除“首页”页面项目图片
    ResponseStatus deleteProjectImage();

    //修改“首页”页面背景图片
    ResponseStatus modifyBackgroundImage(MultipartFile file);

    //修改“首页”页面项目图片
    ResponseStatus modifyProjectImage(MultipartFile file);

}
